import request from '@/utils/request'

// 用户列表
export function listUser(data) {
  return request({
    url: '/user/listUser',
    method: 'post',
    data
  })
}
// 编辑
export function updateUser(data) {
  return request({
    url: '/user/updateUser',
    method: 'post',
    data
  })
}
// 修改二级密码
export function setSafePassword(data) {
  return request({
    url: '/user/setSafePassword',
    method: 'post',
    data
  })
}
// 还款
export function repayment(data) {
  return request({
    url: '/credit/repayment',
    method: 'post',
    data
  })
}
